<template>
	<view class="banner">
		<view class="red_bg"></view>
		<MySwiper :bannerList="bannerList"></MySwiper>
	</view>
</template>

<script>
	import MySwiper from './swiper.vue'
	export default{
		components:{
			MySwiper
		},
		props: ['bannerList']
	}
</script>

<style lang="scss">
	.banner{
		width: 100%;
		.red_bg{
			width: 100%;
			height: 260upx;
			background: #d44439;
			position: absolute;
			overflow: hidden;
		}
	}
</style>
